// ==any== 

// can be assigned/reassigned to any types

let myFavoriteNumber: string = "seven";
// myFavoriteNumber = 7;

let myFavoriteNumber2: any = "seven";
myFavoriteNumber2 = 7;

// any props or methods of an `any` type can be accessed

let anyThing: any = 'hello';

anyThing.setName('Jerry');
anyThing.setName('Jerry').sayHello();
anyThing.myName.setFirstName('Cat');

console.log(anyThing.myName);
console.log(anyThing.myName.firstName);

// undeclared variables have `any` type
let something;
something = 'seven';
something = 7;
// something.setName('Tom');
